package main

import (
	"flag"
	"fmt"
)

var x int

func init() {
	flag.IntVar(&x, "x", 0, "计算平方")
}

func main() {
	flag.Parse()
	res := square(x)
	fmt.Println(x, "的平方:", res)
}